//
//  UIImage+watermark.h
//  ImageWaterMark
//
//  Created by seandeng on 7/21/15.
//  Copyright (c) 2015 seandeng. All rights reserved.
//



/*   Example:

UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 300, 600)];



UIImage *image = [UIImage imageNamed:@"4.jpg"];


CGPoint point = CGPointMake(100, 100);

imageView.image =  [image watermarkText:@"HELLO !" atPosition:point useFont:[UIFont systemFontOfSize:25] withColor:[UIColor redColor]];
 
 
 
*/

#import <UIKit/UIKit.h>

@interface UIImage(watermark)
- (UIImage *)watermarkText:(NSString *)text
                 atPosition:(CGPoint ) pos
                    useFont:(UIFont *) font
                  withColor:(UIColor *) color;
@end
